package com.zmn.oms.common.dio.redistribute;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 类描述 申请改派 校验在途重复dio
 *
 * @author fubiao
 * @since 2022/08/11
 */
@ApiModel(value = "在途重复dio")
@Data
@ToString
public class OrderWorkRedistributeDuplicateDIO implements Serializable {
    private static final long serialVersionUID = -7696470953987385124L;

    @ApiModelProperty(value = "订单id")
    @NotNull(message = "订单id不能为空")
    private Long orderId;

    @ApiModelProperty(value = "工单id")
    @NotNull(message = "工单id不能为空")
    private Long workId;

    @ApiModelProperty(value = "产品id")
    private Integer productId;

    @ApiModelProperty(value = "经度")
    private Double longitude;

    @ApiModelProperty(value = "纬度")
    private Double latitude;
}
